package org.skyer.third.gateway.api.constant.jd;


public class JdConstant {

    /**
     * 京东原始地址（不经过云鼎可能会限流）
     */
    public final  static String JD_ORIGINAL_URL="https://api.jd.com/routerjson";


    /**
     * 0 是修改时间 1 是创建时间
     */
    public static final Integer DATE_TYPE_CREATE=1;

    /**
     * 0 是修改时间 1 是创建时间
     */
    public static final Integer DATE_TYPE_MODIFY=0;

    /**
     * 全量字段
     */
    public final static String  OPTIONAL_FIELDS="pin,orderId,payType,consigneeInfo,orderRemark,orderStartTime,itemInfoList,paymentConfirmTime,orderState,orderStateRemark,orderPayment,freightPrice,storeOrder,idSopShipmenttype,productNo,popSignMap";

    /**
     * 更新字段
     */
    public final static String  OPTIONAL_FIELDS_UPDATE="orderId,orderState,pin,consigneeInfo";


    /**
     * success
     */
    public final static String  CODE="0";

    /**
     * 字段常量
     */
    public final static String POP_ORDER_GET_REQUEST="PopOrderGetRequest";


    /**
     * 字段常量
     */
    public final static String POP_ORDER_SEARCH_REQUEST ="PopOrderSearchRequest";






    public final static String  ERROR_STATUS=JdOrderStatusConstant.TRADE_CANCELED+","+JdOrderStatusConstant.WAIT_GOODS_RECEIVE_CONFIRM+","+JdOrderStatusConstant.FINISHED_L;
}
